package com.fang.networkdisk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fang.networkdisk.entity.bo.UserRoleRelationBo;
import com.fang.networkdisk.entity.po.TbNetDisUserRoleRelation;
import com.fang.networkdisk.entity.vo.UserRoleRelationVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 * 用户角色关联关系表 Mapper 接口
 * </p>
 *
 * @author Bernie_fang
 * @since 2024-12-07
 */
public interface TbNetDisUserRoleRelationMapper extends BaseMapper<TbNetDisUserRoleRelation> {

    List<UserRoleRelationVo> queryUserRoleRelation(@Param("userRoleRelationBo") UserRoleRelationBo userRoleRelationBo);

    int queryUserRoleRelationCount(@Param("userRoleRelationBo") UserRoleRelationBo userRoleRelationBo);

}
